<%@ tag language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="u" tagdir="/WEB-INF/tags" %>
<%@attribute name="menu" required="true" rtexprvalue="true" type="fr.inserm.u915.tabixserver.ListOfInstances"%>
<h3><c:out value="${menu.label}" escapeXml="true"/></h3>
<p><c:out value="${menu.description}" escapeXml="true"/></p>
<dl>
	<c:forEach  var="instance" items="${menu.instances}">
	
	<dt>
		<label for="cbx${instance.id}">
		<input type="checkbox" name="t" value="${instance.label}" id="cbx${instance.id}"/>
		<c:out value="${instance.label}" escapeXml="true"/>
		</label>
		</dt>
	<dd>
		<c:out value="${instance.description}" escapeXml="true"/>
	</dd>
	</c:forEach>
	<c:forEach  var = "section" items="${menu.sections}">
		<u:section menu="${section}"/>
	</c:forEach>
</dl>
